package com.amap.exception;

/**
 * @author liuyi
 * @since 2025/10/31 11:10
 */
public class AmapException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private String code;

    public AmapException(String message) {
        super(message);
    }

    public AmapException(String code, String message) {
        super(message);
        this.code = code;
    }

    public AmapException(String code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }

    public AmapException(String message, Throwable cause) {
        super(message, cause);
    }
}
